<template>
  <div>
    <div class="cellphone">
      <div class="header" @click="myinfo">
        <van-icon class="left" name="arrow-left" />
        <span>手机号</span>
        <button>保存</button>
      </div>
      <div>
        <input type="tel" placeholder="请输入手机号">
      </div>
    </div>
  </div>
</template>

<script>
  export default {
    methods: {
      myinfo() {
        this.$router.push("/myinfo")
      },
    },
  }
</script>

<style lang="scss" scoped>
  .header {
    height: 9vmin;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 5vmin;
    color: #000;

    button {
      border: none;
      color: gray;
      margin-right: 5px;
    }
  }
  input {
    width: 100%;
    height: 7vmin;
    font-size: 4.5vmin;
    border: none;
    outline: none;
    border-bottom: 0.5px gray solid;
  }
</style>